#include "TcpServer.hpp"

using namespace std;


int main(int argc, char* argv[])
{
    if (argc > 2)
        cout << "参数错误, 举个例子： ./run port";
    
    unique_ptr<TcpServer> go(new TcpServer(ResolveData, atoi(argv[1])));
    go->run();
    return 0;
}